﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Structure.Objects
{
    public class Task
    {
        private int _unid;
        private string _name;
        private string _description;
        private int _idProject;
        private int _status;
        private string _startDate;
        private string _endDate;
        private int _id_user;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public int IdProject
        {
            get { return _idProject; }
            set { _idProject = value; }
        }

        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public string StartDate
        {
            get { return _startDate; }
            set { _endDate = value; }
        }

        public string EndDate
        {
            get { return _endDate; }
            set { _endDate = value; }
        }

        public int IdUser
        {
            get { return _id_user; }
        }

        public Task(string name, int idProject, string description, int status, string startDate, string endDate, int id_user)
        {
            _name = name;
            _idProject = idProject;
            _description = description;
            _status = status;
            _startDate = startDate;
            _endDate = endDate;
            _id_user = id_user;
        }
    }
}
